<?php

/**
 * Zona filter form.
 *
 * @package    cronos-doctrine
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ZonaFormFilter extends BaseZonaFormFilter
{
  public function configure()
  {
      //Eliminar los campos del formularios  created_at y updated_at
      unset (
        $this['created_at'],
        $this['updated_at']

      );
      
      $this->widgetSchema['nombre'] = new sfWidgetFormDoctrineChoice(array(
                    'model'     => 'Zona',
                    'add_empty' => ' ',
      ));
      
      $this->widgetSchema->setLabels(array(
        'nombre' => 'Zona',
        ));
  }
}
